package com.andong.service;

import com.andong.domain.entity.SubjectFour;
import com.andong.domain.pojo.PageResult;
import com.andong.domain.pojo.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
* @author 王海云
* @description 针对表【subject_one(科目一题库表)】的数据库操作Service
* @createDate 2024-01-06 20:44:48
*/
public interface SubjectFourService extends IService<SubjectFour> {

    Result addBatch(MultipartFile file) throws IOException;

    Result selectById(Long id);

    Result getIds(Boolean isTest);

    PageResult queryList(Integer page, Integer pageSize, String name);

    Result deleteByIds(List<Long> ids);

    Result saveOrModify(SubjectFour subjectFour);

    Result deleteAll();
}
